import request from '@/utils/request'

// 项目人天统计
export function http_projectMandayStatisticsChart_info(params) {
    return request({
        url: '/project/MandayStatisticsChart',
        method: 'get',
        params
    })
}

export function http_project_info(params = {}) {
  return request({
      url: '/project/getProjectInfo/data',
      method: 'get',
      params
  })
}

// 项目工作量趋势图
export function http_projectWorkloadTrendChart_info(params = {}) {
  return request({
      url: '/project/projectWorkloadTrendChart',
      method: 'get',
      params
  })
}

// 燃尽图
export function http_projectBurndownChart_info(params = {}) {
  return request({
      url: '/project/BurndownChartTOChart',
      method: 'get',
      params
  })
}


export function http_proDatainfo_add(data) {
    return request({
        url: '/proDate/addProDate',
        method: 'post',
        data
    })
}

export function http_proDatainfo_delete(params) {
    return request({
        url: 'proDate/delProDate',
        method: 'delete',
        params:{id:params}
    })
}


export function http_proDatainfo_update(data) {
    return request({
        url: 'proDate/updateProDate',
        method: 'post',
        data
    })
}




export function http_proDate_findProNodeById(proId) {
    return request({
        url: 'proDate/findProNodeById',
        method: 'get',
        params: {proId}
    })
}

export function http_proDate_findData() {
    return request({
        url: 'proDate/findData',
        method: 'get',

    })
}
